/**
 * User: hou wanchun
 * Date: Feb 25, 2003
 * Time: 5:14:16 PM
 */
package com.ecomm.util;

import com.ecomm.exception.DBException;

import java.sql.Connection;

/**
 * 公用的数据库连接类
 */
public interface DAO
{
    /**
     * 取得一个数据库连接
     *
     * @return
     * @throws DBException
     */
    public Connection getConnection() throws DBException;

}
